const env = import.meta.env.MODE || 'prod'

const EnvConfig = {
  development: {
    baseApi: '/mock',
    mockApi: '',
  },
  test: {
    baseApi: '/',
    mockApi: '',
  },
  prod: {
    baseApi: '/mock',
    mockApi: '',
  }
}

export default {
  env, 
  mock: false,
  ...EnvConfig[env]
}